/*
* 该文件由工具生成，请勿更改
* 接口说明：获取就诊信息
* 创建时间：2018/6/7 16:47:19
**/
using System;
using System.Collections.Generic;
using System.Linq;
using Pacs.Services.Soa;
using System.Text;
using System.Threading.Tasks;
namespace Pacs.Services.Server.DJ_HuoQuJiuZhenXinXi
{
     public partial  class DJ_HuoQuJiuZhenXinXi:ServiceBase
     {
          public DTOResponse<DJ_HuoQuJiuZhenXinXiResponseParam> Excute(DJ_HuoQuJiuZhenXinXiRequest request)
          {
            var JiuZhenbl = new Pacs.BLL.YW_PatientVisitInfo();
            var ss = JiuZhenbl.GetModel(request.Body.JiuZhenXinXiID);
            var studyBll = new Pacs.BLL.YX_StudyInfo(); 
            var lists = studyBll.GetModelList("YW_PatientVisitInfoID='"+ request.Body.JiuZhenXinXiID+"' and  JianChaShiID=" + request.Body.ZhenShiID );
            var para = new DJ_HuoQuJiuZhenXinXiResponseParam();
            para.StudyInfos = lists;
            para.PatientVisitInfo = ss;
            return new DTOResponse<DJ_HuoQuJiuZhenXinXiResponseParam>(para);
          }
      }
}
